<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="page-view-size" content="1280*720" />
    <link rel="stylesheet" href="style/base.css" />
    <title>熊猫部落-活动</title>
    <style>
      body {
        position: absolute;
        margin: 0;
        padding: 0;
        width: 1280px;
        height: 720px;
        background-repeat: no-repeat;
        background-color: transparent;
        overflow: hidden;
      }
    </style>
  </head>
  <body onload="init()">
    <div id="main">
      <!--联通不要 -->
      <div class='smallResolution' id="smallResolution"></div>
      <!--联通不要 -->
    </div>
    <script src="js/jquery.js"></script>
    <script src="config/index.js"></script>
    <script src="api/index.js"></script>
    <script src="js/utlis.js"></script>
    <script src="js/KeyEnter.js"></script>
    <script src="js/event.js"></script>
    <script src="js/move.js"></script>
    <script src="js/log.js"></script>
    <script src="js/page.js"></script>

    <script src="components/dialog.js"></script>
    <script src="components/activity.js"></script>
    <script>
      function getPreFocus() {
        var typeId = utils.getUrlParam("typeId", "")
        // var typeName = unescape(utils.getUrlParam('typeName', ''))
        // console.log(typeName)
        activity.init({
          typeId: typeId
        })
        
      }

      function init () {
        page.init()
        getPreFocus()
        log.commit({
          name: '活动页面',
          type1: 'browse',
          type2: 'activity',
          starttime: new Date().getTime(),
        })
      }

      function keyBack () {
        if (dialog.visible) {
          dialog.hide()
        } else {
          page.goback()
        }
      }
    </script>
  </body>
</html>
